package com.zhoufy.tomcat.server;

import com.zhoufy.tomcat.utils.Request;
import com.zhoufy.tomcat.utils.Response;

/**
 * Created with IntelliJ IDEA by ChouFy on 2020-03-30.
 *
 * @author zhoufy
 */
public interface Servlet {

    void init() throws Exception;

    void destroy() throws Exception;

    void service(Request request, Response response) throws Exception;
}
